# list1 = [123, 3.14, "abc", ('abc', 456), ['efg', 789]]
# i = 0
# for i in list1:
#     if type(i) is list or type(i) is tuple:
#         for j in i:
#             print(j)
#     else:
#         print(i)
#
# while i < len(list1):
#     if type(list1[i]) is list or type(list1[i]) is tuple:
#         for j in list1[i]:
#             print(j)
#     else:
#         print(list1[i])
#     i += 1

# # 输出99乘法表
# for i in range(1, 10):
#     for j in range(1, i+1):
#         print("{}*{}={}  ".format(j, i, i*j), end='')
#     print("")